Fix a race with verify-visited-file-modtime.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Nov 2012 01:35:14 +0000 (17:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Nov 2012 01:35:14 +0000 (17:35 -0800)
commitc94ac853ffc274d3734aa3e17b55a9fa39f6e4e2
treef2a1ac43454f907e43543bc24a51c6370b7eab0c
parentad48df63aec46d677cf2c4b97ed08e873b1100d4
Fix a race with verify-visited-file-modtime.

Since at least 1991 Emacs has ignored an mtime difference of no
more than one second, but my guess is that this was to work around
file system bugs that were fixed long ago.  Since the race is
causing problems now, let's remove that code.
* fileio.c (Fverify_visited_file_modtime): Do not accept a file
whose time stamp is off by no more than a second.  Insist that the
file time stamps match exactly.
src/ChangeLog
src/fileio.c